<template>
	<view>
		<view>
		<view class="container" @click="goDetailPage('index')"><text>index</text></view>
		<view class="container" @click="goDetailPage('Logon')"><text>登录界面</text></view>
		<view class="container" @click="goDetailPage('chengshi')"><text>城市探索</text></view>
		<view class="container" @click="goDetailPage('cardview')"><text>新闻</text></view>
		<view class="container" @click="goDetailPage('IntentPage')"><text>组件传值</text></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			
			}
		},
		methods: {
			goDetailPage(e){
				if (typeof e === 'string'){
					uni.navigateTo({
						url:'/pages/tabBar/demos/' + e + '/' + e
					});
				}else{
					uni.navigateTo({
						url: e.url
					});
				}
			}
			
		}
	}
</script>

<style>

</style>
